package com.nbsaas.boot.customer.rest.convert;

import com.nbsaas.boot.customer.data.entity.CustomerInvoice;
import com.nbsaas.boot.customer.api.domain.simple.CustomerInvoiceSimple;

import com.nbsaas.boot.rest.api.Converter;

/**
* -列表对象转换器
*/

public class CustomerInvoiceSimpleConvert implements Converter<CustomerInvoiceSimple, CustomerInvoice> {




@Override
public CustomerInvoiceSimple convert(CustomerInvoice source) {
    CustomerInvoiceSimple result = new CustomerInvoiceSimple();

                result.setTaxNumber(source.getTaxNumber());
                result.setId(source.getId());
                result.setInvoiceTitle(source.getInvoiceTitle());


    return result;
}

}